package com.lang;

import com.asiainfo.crm.core.common.BaseData;
import com.asiainfo.crm.core.common.Pinyin;

public class MyBaseData{
	private String code;
	private String name;
	private String py;
	public MyBaseData(BaseData bd){
		this.code = bd.getCode();
		this.name = bd.getName();
		this.py = Pinyin.getFirstPinyin(bd.getName());
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPy() {
		return py;
	}
	public void setPy(String py) {
		this.py = py;
	}
}
